/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package assisisw.smartcal.weathersubsystem;

import assisisw.smartcal.weathersubsystem.exceptions.ExternalServiceException;
import java.io.Serializable;
import javax.ejb.Local;

/**
 *
 * @author Francesco
 */
@Local
public interface IExternalWeatherDataRetriever extends Serializable
{

    // Instance Methods
    
    /**
     * @param city
     * @param country
     * @return
     * @throws ExternalServiceException
     */
    public abstract Iterable < WeatherData > retrieve ( String city , String country ) throws ExternalServiceException ;
    
}
